package com.sz.app.oss.api.logistics.base.dto;

import com.sz.common.base.dto.I18nDto;
import com.sz.common.core.system.dto.FileInfoDto;
import org.hibernate.validator.constraints.NotBlank;

import java.util.List;

/**
 * Function: AirPlaneModelDto <br>
 * Author: Charles <br>
 * Date: 2016-12-02 14:28:00
 */
public class AirPlaneModelDto {

    private Integer id;
    @NotBlank(message = "validate.notnull")
    private String name;
    private String icao;
    @NotBlank(message = "validate.notnull")
    private String iata;
    private Double payload;
    private String manufacturer;
    private String description;
    private List<String> pictures;
    private List<FileInfoDto> files;
    private List<I18nDto> i18n;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcao() {
        return icao;
    }

    public void setIcao(String icao) {
        this.icao = icao;
    }

    public String getIata() {
        return iata;
    }

    public void setIata(String iata) {
        this.iata = iata;
    }

    public Double getPayload() {
        return payload;
    }

    public void setPayload(Double payload) {
        this.payload = payload;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<String> getPictures() {
        return pictures;
    }

    public void setPictures(List<String> picture) {
        this.pictures = picture;
    }

    public List<I18nDto> getI18n() {
        return i18n;
    }

    public void setI18n(List<I18nDto> i18n) {
        this.i18n = i18n;
    }

    public List<FileInfoDto> getFiles() {
        return files;
    }

    public void setFiles(List<FileInfoDto> files) {
        this.files = files;
    }
}
